//
//  TCSGGeneralMethods.h
//  iPing
//
//  Created by Thomas on 8/10/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#define TCSGLabelNot	@"TCSGLabelNot"
#define TCSGRunning		@"TCSGrunning"
#define STORYKEY		@"story"
#define AUTHORKEY		@"author"
#define HOSTKEY			@"host"
#define	IDKEY			@"id"
#define HTMLCODEKEY		@"HTMLCODEKEY"
#define CHECKKEY		@"check"
#define TITLEKEY		@"title"
#define SUMMARYKEY		@"Summary"
#define CODESKEY		@"Codes"
#define GENREKEY		@"Genre"
#define SGNAME			@"Story Grabber"
#define ARRAYKEY		@"Array Key"
#define LASTDOWNLOADEDCHAPTER @"LASTDOWNLOADEDCHAPTER"

@interface TCSGGeneralMethods : NSObject {

}
+(NSString *)plistPathForHTMLCode:(NSString *)HTMLCode;
+(NSString *)fullStoryPathForHTMLCode:(NSString *)HTMLCode;
+(NSString *)folderForHTMLCode:(NSString *)HTMLCode createDir:(BOOL)create;
+(NSString *)epubPathForHTMLCode:(NSString *)HTMLCode;
+(NSDictionary *)infoDict:(NSString *)path;
+(void)setLabelField:(NSString *)text;
+(NSDictionary *)getDB;
+(NSString *)tempFolder;
+(NSString *)storiesFolder;
+(NSString *)dbFolder;
+(NSString *)dbPath;
+(void)writeDB:(NSDictionary *)DB;
+(BOOL)SaveIndividualChapters;
+(void)checkBundleExistance;
@end
